﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Common.Model;
using Common.Error;
using OpenAPI.Model.API;

namespace OpenAPI.IDAL.API
{
    public interface IDocument
    {
        DocumentInfo Get(string doc_cd);
        IList<DocumentInfo> List();


        bool Add(DocumentInfo doc, out ErrorType error);
        bool Modify(DocumentInfo doc, out ErrorType error);
        bool Delete(string doc_cd, out ErrorType error);

    }
}
